﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace mvc_monday.Models
{
    // basse class
    public class Employee
    {
        public double Salary { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public int EmployeeId { get; set; }

        public string FullName { get; set; }
        public EmployeeTypes Type { get; set; }
       
    }
    // Manager 
    public class Manager : Employee
    {
        public string Device { get; set; }

    }
    // Supervisor
    public class Supervisor : Manager
    {
        public string Territory { get; set; }
    }


    // Employye type enum
    enum EmployeeTypes
    {
        Employee,
        Manager,
        Supervisor
    }


}